import { Injectable } from '@angular/core';
import { v4 as uuidv4 } from 'uuid';

@Injectable({ providedIn: 'root' })
export class UuidService {

  /**
   * @function 返回一个uuid
   */
  public async getUuid() {
    return await uuidv4();
  }

}